//
//  NetMyGoUClient.h
//  NetTest
//
//  Created by uistrong on 13-3-20.
//  Copyright (c) 2013年 uistrong. All rights reserved.
//

#import <Foundation/Foundation.h>
#include "Communicator.h"


// 通信客户端
@interface NetMyGoUClient : NSObject
{
    UIAlertView *_processAlertView;
}

@property (assign, nonatomic) unsigned short port;
@property (assign, nonatomic) long long token;
@property (copy, nonatomic) NSString* ipAddr;

+ (NetMyGoUClient *)sharedInterface;

- (int) simpleCommunicate:(NSMutableData*) sendRecvData timeOut:(int) timeOut;

- (int) simpleCommunicate:(char*) sendRecvBuffer dataLength:(int&) dataLength bufferLength:(int) bufferLength timeOut:(int) timeOut;

- (void) showWait;
- (void) hiddWait;

@end
